package com.oracle.application.feign;

import com.oracle.application.feign.vo.Member;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author 莉丝妲黛
 */
@Component
@FeignClient(value = "Spring-Service-Member",path = "/member")
public interface MemberFeign {

    @GetMapping("/list")
    public List<Member> list();
}
